import playermodel

class KillmailModel(object):
    
    def __init__(self, Date = None, Victim = None, InvParties = None, FinalBlow = None):
        self.Name = "Killmail"
        self.Date = Date
        self.Victim = Victim
        self.InvParties = InvParties
        self.FinalBlow = FinalBlow
    
    def __iter__(self):
        for attribute in self.__dict__:
            yield self.__dict__[attribute]
    
    def View(self):
        temp = []
        for attribute in self:
            temp.append(attribute)
        return temp